package com.wg.dome.entity.config;

import com.wg.db.annotation.EntityField;
import com.wg.db.annotation.EntityTable;
import com.wg.db.schema.AccessLevel;

import java.io.Serializable;

@EntityTable(tableName = "static_zhuling_ring",accessLevel = AccessLevel.ReadOnly)
public class ZhuLingRingEntity implements Serializable {
    /**
     * 注灵等级
     */
    @EntityField(isKey = true)
    private int level;

    /**
     * 生命值
     */
    @EntityField
    private int hp;

    /**
     * 命中率
     */
    @EntityField
    private int dex;

    /**
     * 消耗道具Id
     */
    @EntityField(fieldName = "use_item_id")
    private int useItemId;

    /**
     * 消耗道具数量
     */
    @EntityField(fieldName = "use_item_count")
    private int useItemCount;


    public int getHp() {
        return hp;
    }

    public void setHp(int hp) {
        this.hp = hp;
    }

    public int getDex() {
        return dex;
    }

    public void setDex(int dex) {
        this.dex = dex;
    }

    public int getUseItemId() {
        return useItemId;
    }

    public void setUseItemId(int useItemId) {
        this.useItemId = useItemId;
    }

    public int getUseItemCount() {
        return useItemCount;
    }

    public void setUseItemCount(int useItemCount) {
        this.useItemCount = useItemCount;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }
}
